window.core_require_config = {
    waitSeconds : 30,
    baseUrl: '',
    map: {
        '*': {
            'css': 'libs/require-css/css'
        }
    },
    paths: {
        Base: 'libs/Base.js-Module/Base',
        text: 'libs/requirejs-plugins/lib/text',
        json: 'libs/requirejs-plugins/src/json',
        async: 'libs/requirejs-plugins/src/async',
        image: 'libs/requirejs-plugins/src/image',
        jquery: 'libs/jquery/dist/jquery.min',
        angular: 'libs/angular/angular.min',
        domReady: 'libs/requirejs-domready/domReady',
        bootstrap: 'libs/bootstrap/dist/js/bootstrap.min',
        underscore: 'libs/underscore/underscore-min',
        angularXml: 'libs/angular-xml/angular-xml.min',
        angularAria: 'libs/angular-aria/angular-aria.min',
        angularAnimate: 'libs/angular-animate/angular-animate.min',
        angularMaterial: 'libs/angular-material/angular-material.min',
        angularBootstrap: 'libs/angular-bootstrap/ui-bootstrap-tpls.min',
        angularUiRouter: 'libs/angular-ui-router/release/angular-ui-router.min',
        angularUnderscore: 'libs/angular-underscore-module/angular-underscore-module',
        angularUiNotify: 'libs/angular-ui-notification/dist/angular-ui-notification.min',
        angularColorPicker: 'libs/angular-bootstrap-colorpicker/js/bootstrap-colorpicker-module.min',
        angularFileUpload: 'libs/angular-file-upload/dist/angular-file-upload.min',
        angularTreeControl: 'libs/angular-tree-control/angular-tree-control',
        angularContextMenu: 'libs/ng-context-menu/dist/ng-context-menu.min',
        angularXEditable: 'libs/angular-xeditable/dist/js/xeditable.min',
        angularAside: 'libs/angular-aside/dist/js/angular-aside.min',
        angularSortable: 'libs/ng-sortable/dist/ng-sortable.min',
        angularUiAce: 'libs/angular-ui-ace/ui-ace.min',

        socketio: 'libs/socket.io-client/socket.io',

        ocLazyLoad: 'libs/oclazyload/dist/ocLazyLoad.require.min',
        ocLazyLoadUiRouterDecorator: 'libs/oclazyload-uiRouterDecorator/oclazyload-uiRouterDecorator',

        UiAce: 'libs/ace-builds/src-min-noconflict/ace',
        UiAceLanguageTools: 'libs/ace-builds/src-noconflict/ext-language_tools',

        JSONParse: 'libs/JSON-js/json2',
        xml2json: 'libs/x2js/xml2json.min',
        loglevel: 'libs/loglevel/dist/loglevel.min',
        jqueryTmpl: 'libs/jquery-tmpl/jquery.tmpl.min',

        d3: 'libs/d3/d3.min',
        echarts: 'libs/echarts/dist/echarts.min',
        zrender: 'libs/zrender/dist/zrender.min',
        raphael: 'libs/raphael/raphael.min',
        eveRaphael: 'libs/eve-raphael/eve',
        highcharts: 'libs/highcharts/highcharts',

        EventEmitter: 'libs/eventEmitter/EventEmitter.min',
        GoldenLayout: 'libs/golden-layout/dist/goldenlayout.min',
        Handsontable: 'libs/handsontable/dist/handsontable.full.min',

        md5: 'libs/blueimp-md5/js/md5.min',
        video: 'libs/video.js/dist/video.min',
        audiojs: 'libs/audiojs/audiojs/audio.cmd',
        svgjs: 'libs/svg.js/dist/svg.min',
        lodash: 'libs/lodash/lodash.min',
        pikaday: 'libs/pikaday/pikaday',
        numbro: 'libs/numbro/dist/numbro',
        numbrocn: 'libs/numbro/dist/languages/zh-CN.min',
        momentjs: 'libs/moment/min/moment-with-locales.min',
        localforage: 'libs/localforage/dist/localforage.min',
        zoomooz: 'libs/zoomooz/jquery.zoomooz.min',
        velocity: 'libs/velocity/velocity.min',
        velocityUi: 'libs/velocity/velocity.ui.min',
        iziModal: 'libs/izimodal/js/iziModal.min',

        jStorage: 'libs/jStorage/jstorage.min',
        jQueryUi: 'libs/jquery-ui/jquery-ui.min',
        jQueryFlip: 'libs/flip/dist/jquery.flip.min',
        jQueryMigrate: 'libs/jquery-migrate/jquery-migrate.min',
        jQueryRotate: 'libs/jqueryrotate/jQueryRotateCompressed',
        jQueryPerfectScroll: 'libs/perfect-scrollbar/js/min/perfect-scrollbar.jquery.min',
        jQueryContextMenu: 'libs/jQuery-contextMenu/dist/jquery.contextMenu.min',
        jQueryUiPosition: 'libs/jQuery-contextMenu/dist/jquery.ui.position.min',
        jqueryMousewheel: 'libs/jquery-mousewheel/jquery.mousewheel.min',
        jqueryccslider: 'libs/jquery-ccslider/jquery.ccslider-3.0.2',
        cloud9carousel: 'libs/cloud9carousel/jquery.cloud9carousel',
        jqueryJcarousel: 'libs/jcarousel/dist/jquery.jcarousel.min',
        jqueryReflection: 'libs/cloud9carousel/jquery.reflection',
        jqueryMapael: 'libs/jquery-mapael/js/jquery.mapael',
        jquerySkywheel: 'libs/jq_skywheel/jq-skywheel.min',
        jOdometer: 'libs/jodometer/jquery.jodometer.min',
        jQueryUUID: 'libs/jquery-uuid/jquery-uuid',

        treantJs: 'libs/treant-js/Treant',
        dhtmlxGantt: 'libs/dhtmlx-gantt/codebase/dhtmlxgantt',
        dhtmlxGantt_cn: 'libs/dhtmlx-gantt/codebase/locale/locale_cn',
        dhtmlxgantt_marker: 'libs/dhtmlx-gantt/codebase/ext/dhtmlxgantt_marker',
        dhtmlxgantt_tooltip: 'libs/dhtmlx-gantt/codebase/ext/dhtmlxgantt_tooltip',

        adConfig: 'app/config',
        main: 'app/main'
    },

    shim: {
        jquery: {
            exports: '$'
        },
        underscore: {
            exports: '_'
        },
        JSONParse: {
            exports: 'JSON'
        },
        socketio: {
            exports: 'io'
        },
        angular: {
            deps: [
                'jquery'
            ],
            exports: 'angular'
        },
        ocLazyLoad: {
            deps: [
                'angular'
            ]
        },
        bootstrap: {
            deps: [
                'jquery'
            ]
        },
        angularUiRouter: {
            deps: [
                'angular'
            ]
        },
        angularAnimate: {
            deps: [
                'angular'
            ]
        },
        angularMaterial: {
            deps: [
                'angular',
                'angularAria',
                'css!libs/angular-material/angular-material.min.css'
            ]
        },
        angularUiNotify: {
            deps: [
                'angular',
                'css!libs/angular-ui-notification/dist/angular-ui-notification.min.css'
            ]
        },
        angularBootstrap: {
            deps: [
                'angular',
                'bootstrap'
            ]
        },
        angularUnderscore: {
            deps: [
                'underscore'
            ]
        },
        angularSortable: {
            deps: [
                'angular',
                'css!libs/ng-sortable/dist/ng-sortable.min.css',
                'css!libs/ng-sortable/dist/ng-sortable.style.min.css'
            ]
        },
        angularAria: {
            deps: [
                'angular'
            ]
        },
        ocLazyLoadUiRouterDecorator: {
            deps: [
                'angular',
                'angularUiRouter',
                'ocLazyLoad'
            ]
        },
        angularTreeControl: {
            deps: [
                'angular',
                'css!libs/angular-tree-control/css/tree-control.css',
                'css!libs/angular-tree-control/css/tree-control-attribute.css'
            ]
        },
        angularContextMenu: {
            deps: [
                'angular'
            ]
        },
        angularXEditable: {
            deps: [
                'angular',
                'css!libs/angular-xeditable/dist/css/xeditable.css'
            ]
        },
        angularColorPicker: {
            deps: [
                'angular',
                'css!libs/angular-bootstrap-colorpicker/css/colorpicker.min.css'
            ]
        },
        angularFileUpload: {
            deps: [
                'angular'
            ]
        },
        angularAside: {
            deps: [
                'angular',
                'angularBootstrap',
                'css!libs/angular-aside/dist/css/angular-aside.min.css'
            ]
        },
        angularXml: {
            deps: [
                'angular',
                'xml2json'
            ]
        },
        UiAceLanguageTools: {
            deps: [
                'UiAce'
            ]
        },
        angularUiAce: {
            deps: [
                'angular',
                'UiAce',
                'UiAceLanguageTools'
            ]
        },
        GoldenLayout: {
            deps: [
                'jquery',
                'css!libs/golden-layout/src/css/goldenlayout-base.css'
            ]
        },
        highcharts: {
            deps: [
                'jquery'
            ],
            exports: 'Highcharts'
        },
        d3: {
            exports: 'd3'
        },
        /*echarts:{
            deps: [
                'zrender'
            ]
        },*/
        raphael: {
            deps: [
                'eveRaphael'
            ],
            exports: 'Raphael'
        },
        video: {
            deps: [
                'css!libs/video.js/dist/video-js.min.css'
            ]
        },
        Handsontable: {
            deps: [
                'css!libs/handsontable/dist/handsontable.full.min.css'
            ]
        },
        pikaday: {
            deps: [
                'momentjs',
                'css!libs/pikaday/css/pikaday.css'
            ]
        },
        numbro: {
            deps: [
                'numbrocn'
            ]
        },
        iziModal: {
            deps: [
                'jquery',
                'css!libs/izimodal/css/iziModal.min.css'
            ]
        },
        treantJs: {
            deps: [
                'jquery',
                'raphael',
                'css!libs/treant-js/Treant.css'
            ],
            exports: 'Treant'
        },
        zoomooz: {
            deps: [
                'jquery'
            ]
        },
        jQueryUi: {
            deps: [
                'jquery'
            ]
        },
        jStorage: {
            deps: [
                'jquery',
                'JSONParse'
            ]
        },
        jOdometer: {
            deps: [
                'jquery'
            ]
        },
        jQueryUUID: {
            deps: [
                'jquery'
            ]
        },
        jqueryMapael: {
            deps: [
                'jquery',
                'raphael',
                'jqueryMousewheel'
            ]
        },
        jQueryMigrate: {
            deps: [
                'jquery'
            ]
        },
        jqueryMousewheel: {
            deps: [
                'jquery'
            ]
        },
        cloud9carousel: {
            deps: [
                'jquery',
                'jqueryReflection'
            ]
        },
        jquerySkywheel: {
            deps: [
                'jquery',
                'css!libs/jq_skywheel/jq-skywheel.css'
            ]
        },
        jqueryJcarousel: {
            deps: [
                'jquery'
            ]
        },
        jQueryRotate: {
            deps: [
                'jquery'
            ]
        },
        velocity: {
            deps: [
                "jquery"
            ]
        },
        velocityUi: {
            deps: [
                "velocity"
            ]
        },
        jQueryFlip: {
            deps: [
                'jquery'
            ]
        },
        jqueryccslider: {
            deps: [
                'jquery',
                'jQueryUi',
                'jQueryMigrate',
                'css!libs/jquery-ccslider/ccslider.css'
            ]
        },
        jQueryPerfectScroll: {
            deps: [
                'jquery',
                'css!libs/perfect-scrollbar/css/perfect-scrollbar.min.css'
            ]
        },
        jQueryUiPosition: {
            deps: [
                'jquery'
            ]
        },
        jQueryContextMenu: {
            deps: [
                'jquery',
                'jQueryUiPosition',
                'css!libs/jQuery-contextMenu/dist/jquery.contextMenu.min.css'
            ]
        },
        dhtmlxGantt: {
            deps: [
                'css!libs/dhtmlx-gantt/codebase/skins/dhtmlxgantt_terrace.css'
            ]
        },
        dhtmlxGantt_cn: {
            deps: [
                'dhtmlxGantt'
            ]
        },
        dhtmlxgantt_marker: {
            deps: [
                'dhtmlxGantt'
            ]
        },
        dhtmlxgantt_tooltip: {
            deps: [
                'dhtmlxGantt'
            ]
        }
    },
    urlArgs: 'v=' + window.version,
    deps: ['main']
};